const HtmlWebpackPlugin = require('html-webpack-plugin');
const webpack = require('webpack');
const path = require('path')


module.exports = {
    entry: './src/index.js',
    output: {
        filename: 'mian.js',
        path: path.join(__dirname, './dist')
    },
    plugins: [
        new HtmlWebpackPlugin({
            template: './src/index.html'
        })
    ]
}